package com.baox.agridata.synchronous.util;

import java.util.HashMap;
import java.util.Map;

public class DicDataTurnUtil {

    /**
     * 场所
     * @param p_OldCode
     * @return
     */
    public static String PlaceTypeTurn(String p_OldCode){
        String newCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "01":
                    newCode = "2202";
                    break;
                case "02":
                    newCode = "2203";
                    break;
                case "03":
                    newCode = "2204";
                    break;
                case "04":
                    newCode = "2201";
                    break;
                case "05":
                    newCode = "2205";
                    break;
                case "06":
                    newCode = "2206";
                    break;
                case "07":
                    newCode = "2207";
                    break;
                case "08":
                    newCode = "2208";
                    break;
                case "09":
                    newCode = "2209";
                    break;
                default:
                    break;
            }
        }

        return newCode;
    }

    /**
     * 场所
     * @param p_OldCode
     * @return
     */
    public static Map PlaceTypeTurnMap(String p_OldCode){
        Map l_PlaceType = new HashMap();

        if(p_OldCode != null && !p_OldCode.equals("")) {
            switch (p_OldCode) {
                case "01":
                    l_PlaceType.put("key", 2202);
                    l_PlaceType.put("Name", "养殖场");
                    break;
                case "02":
                    l_PlaceType.put("key", 2203);
                    l_PlaceType.put("Name", "屠宰场");
                    break;
                case "03":
                    l_PlaceType.put("key", 2204);
                    l_PlaceType.put("Name", "动物交易市场");
                    break;
                case "04":
                    l_PlaceType.put("key", 2201);
                    l_PlaceType.put("Name", "养殖户/村");
                    break;
                case "05":
                    l_PlaceType.put("key", 2205);
                    l_PlaceType.put("Name", "养殖小区");
                    break;
                case "06":
                    l_PlaceType.put("key", 2206);
                    l_PlaceType.put("Name", "其它");
                    break;
                case "07":
                    l_PlaceType.put("key", 2207);
                    l_PlaceType.put("Name", "冷库/产品销售场所");
                    break;
                case "08":
                    l_PlaceType.put("key", 2208);
                    l_PlaceType.put("Name", "动物产品加工厂");
                    break;
                case "09":
                    l_PlaceType.put("key", 2209);
                    l_PlaceType.put("Name", "无害化处理场");
                    break;
                default:
                    l_PlaceType.put("key", 2206);
                    l_PlaceType.put("Name", "其它");
                    break;
            }
        }

        return l_PlaceType;
    }

    /**
     * 场所
     * @param p_OldCode
     * @return
     */
    public static String PlaceTypeReTurn(String p_OldCode){
        String newCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "2202":
                    newCode = "01";
                    break;
                case "2203":
                    newCode = "02";
                    break;
                case "2204":
                    newCode = "03";
                    break;
                case "2201":
                    newCode = "04";
                    break;
                case "2205":
                    newCode = "05";
                    break;
                case "2206":
                    newCode = "06";
                    break;
                case "2207":
                    newCode = "07";
                    break;
                case "2208":
                    newCode = "08";
                    break;
                case "2209":
                    newCode = "09";
                    break;
                default:
                    newCode = "06";
                    break;
            }
        }

        return newCode;
    }

    /**
     * 有效期
     * @param p_OldCode
     * @return
     */
    public static String ValidityDaysTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "01":
                    NewCode ="1401";
                    break;
                case "02":
                    NewCode ="1402";
                    break;
                case "03":
                    NewCode ="1403";
                    break;
                case "04":
                    NewCode="1404";
                    break;
                case "05":
                    NewCode="1405";
                    break;
                case "06":
                    NewCode="1406";
                    break;
                case "07":
                    NewCode="1407";
                    break;
                case "08":
                    NewCode="1408";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }

    /**
     * 有效期
     * @param p_OldCode
     * @return
     */
    public static Map ValidityDaysTurnMap(String p_OldCode){
        Map l_ValidityDays = new HashMap();

        if(p_OldCode != null && !p_OldCode.equals("")) {
            switch (p_OldCode) {
                case "01":
                    l_ValidityDays.put("key", 1401);
                    l_ValidityDays.put("Name", "壹");
                    break;
                case "02":
                    l_ValidityDays.put("key", 1402);
                    l_ValidityDays.put("Name", "贰");
                    break;
                case "03":
                    l_ValidityDays.put("key", 1403);
                    l_ValidityDays.put("Name", "叁");
                    break;
                case "04":
                    l_ValidityDays.put("key", 1404);
                    l_ValidityDays.put("Name", "肆");
                    break;
                case "05":
                    l_ValidityDays.put("key", 1405);
                    l_ValidityDays.put("Name", "伍");
                    break;
                case "06":
                    l_ValidityDays.put("key", 1406);
                    l_ValidityDays.put("Name", "陆");
                    break;
                case "07":
                    l_ValidityDays.put("key", 1407);
                    l_ValidityDays.put("Name", "柒");
                    break;
                case "08":
                    l_ValidityDays.put("key", 1408);
                    l_ValidityDays.put("Name", "壹佰捌拾");
                    break;
                default:
                    l_ValidityDays.put("key", 1401);
                    l_ValidityDays.put("Name", "壹");
                    break;
            }
        }
        return l_ValidityDays;
    }

    /**
     * 有效期
     * @param p_OldCode
     * @return
     */
    public static String ValidityDaysReTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "1401":
                    NewCode ="01";
                    break;
                case "1402":
                    NewCode ="02";
                    break;
                case "1403":
                    NewCode ="03";
                    break;
                case "1404":
                    NewCode="04";
                    break;
                case "1405":
                    NewCode="05";
                    break;
                case "1406":
                    NewCode="06";
                    break;
                case "1407":
                    NewCode="07";
                    break;
                case "1408":
                    NewCode="08";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }

    /**
     * 用途
     * @param p_OldCode
     * @return
     */
    public static String PurposeTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "01":
                    NewCode = "1202";
                    break;
                case "02":
                    NewCode = "1201";
                    break;
                case "05":
                    NewCode = "1203";
                    break;
                case "08":
                    NewCode = "1204";
                    break;
                case "04":
                    NewCode = "1205";
                    break;
                case "06":
                    NewCode = "1206";
                    break;
                case "09":
                    NewCode = "1207";
                    break;
                case "10":
                    NewCode = "1208";
                    break;
                case "11":
                    NewCode = "1209";
                    break;
                case "12":
                    NewCode = "1210";
                    break;
                case "07":
                    NewCode = "1211";
                    break;
                case "13":
                    NewCode = "1212";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }

    /**
     * 用途
     * @param p_OldCode
     * @return
     */
    public static Map PurposeTurnMap(String p_OldCode){
        Map l_Purpose = new HashMap();

        if(p_OldCode != null && !p_OldCode.equals("")) {
            switch (p_OldCode) {
                case "01":
                    l_Purpose.put("key", 1202);
                    l_Purpose.put("Name", "屠宰");
                    break;
                case "02":
                    l_Purpose.put("key", 1201);
                    l_Purpose.put("Name", "饲养");
                    break;
                case "05":
                    l_Purpose.put("key", 1203);
                    l_Purpose.put("Name", "种用");
                    break;
                case "08":
                    l_Purpose.put("key", 1204);
                    l_Purpose.put("Name", "乳用");
                    break;
                case "04":
                    l_Purpose.put("key", 1205);
                    l_Purpose.put("Name", "役用");
                    break;
                case "06":
                    l_Purpose.put("key", 1206);
                    l_Purpose.put("Name", "宠用");
                    break;
                case "09":
                    l_Purpose.put("key", 1207);
                    l_Purpose.put("Name", "实验");
                    break;
                case "10":
                    l_Purpose.put("key", 1208);
                    l_Purpose.put("Name", "展览");
                    break;
                case "11":
                    l_Purpose.put("key", 1209);
                    l_Purpose.put("Name", "演出");
                    break;
                case "12":
                    l_Purpose.put("key", 1210);
                    l_Purpose.put("Name", "比赛");
                    break;
                case "07":
                    l_Purpose.put("key", 1211);
                    l_Purpose.put("Name", "其它");
                    break;
                case "13":
                    l_Purpose.put("key", 1212);
                    l_Purpose.put("Name", "交易（销售）");
                    break;
                default:
                    l_Purpose.put("key", 1201);
                    l_Purpose.put("Name", "饲养");
                    break;
            }
        }

        return l_Purpose;
    }

    /**
     * 用途
     * @param p_OldCode
     * @return
     */
    public static String PurposeReTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "1202":
                    NewCode = "01";
                    break;
                case "1201":
                    NewCode = "02";
                    break;
                case "1203":
                    NewCode = "05";
                    break;
                case "1204":
                    NewCode = "08";
                    break;
                case "1205":
                    NewCode = "04";
                    break;
                case "1206":
                    NewCode = "06";
                    break;
                case "1207":
                    NewCode = "09";
                    break;
                case "1208":
                    NewCode = "10";
                    break;
                case "1209":
                    NewCode = "11";
                    break;
                case "1210":
                    NewCode = "12";
                    break;
                case "1211":
                    NewCode = "07";
                    break;
                case "1212":
                    NewCode = "13";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }

    /**
     * 运输方式
     * @param p_OldCode
     * @return
     */
    public static String TransportTypeTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "01":
                    NewCode = "1501";
                    break;
                case "03":
                    NewCode = "1502";
                    break;
                case "02":
                    NewCode = "1503";
                    break;
                case "06":
                    NewCode = "1504";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }

    /**
     * 运输方式
     * @param p_OldCode
     * @return
     */
    public static Map TransportTypeTurnMap(String p_OldCode){
        Map l_TransportType = new HashMap();

        switch (p_OldCode){
            case "01":
                l_TransportType.put("key",1501);
                l_TransportType.put("Name","道路");
                break;
            case "03":
                l_TransportType.put("key",1502);
                l_TransportType.put("Name","铁路");
                break;
            case "02":
                l_TransportType.put("key",1503);
                l_TransportType.put("Name","水路");
                break;
            case "06":
                l_TransportType.put("key",1504);
                l_TransportType.put("Name","航空");
                break;
            default:
                l_TransportType.put("key",1501);
                l_TransportType.put("Name","道路");
                break;
        }

        return l_TransportType;
    }

    /**
     * 运输方式
     * @param p_OldCode
     * @return
     */
    public static String TransportTypeReTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "1501":
                    NewCode = "01";
                    break;
                case "1502":
                    NewCode = "03";
                    break;
                case "1503":
                    NewCode = "02";
                    break;
                case "1504":
                    NewCode = "06";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }

    /**
     * 单位
     * @param p_OldCode
     * @return
     */
    public static String UnitTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "01":
                    NewCode = "1301";
                    break;
                case "02":
                    NewCode = "1302";
                    break;
                case "12":
                    NewCode = "1303";
                    break;
                case "11":
                    NewCode = "1304";
                    break;
                case "04":
                    NewCode = "1305";
                    break;
                case "07":
                    NewCode = "1307";
                    break;
                case "08":
                    NewCode = "1308";
                    break;
                case "13":
                    NewCode = "1309";
                    break;
                case "09":
                    NewCode = "1311";
                    break;
                case "14":
                    NewCode = "1313";
                    break;
                case "10":
                    NewCode = "1316";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }

    /**
     * 单位
     * @param p_OldCode
     * @return
     */
    public static Map UnitTurnMap(String p_OldCode){
        Map l_newJson = new HashMap();

        if(p_OldCode != null && !p_OldCode.equals("")) {
            switch (p_OldCode) {
                case "01":
                    l_newJson.put("key", 1301);
                    l_newJson.put("Name", "头");
                    break;
                case "02":
                    l_newJson.put("key", 1302);
                    l_newJson.put("Name", "只");
                    break;
                case "12":
                    l_newJson.put("key", 1303);
                    l_newJson.put("Name", "匹");
                    break;
                case "11":
                    l_newJson.put("key", 1304);
                    l_newJson.put("Name", "羽");
                    break;
                case "04":
                    l_newJson.put("key", 1305);
                    l_newJson.put("Name", "公斤");
                    break;
                case "05":
                    l_newJson.put("key", 1306);
                    l_newJson.put("Name", "吨");
                    break;
                case "07":
                    l_newJson.put("key", 1307);
                    l_newJson.put("Name", "张");
                    break;
                case "08":
                    l_newJson.put("key", 1308);
                    l_newJson.put("Name", "枚");
                    break;
                case "13":
                    l_newJson.put("key", 1309);
                    l_newJson.put("Name", "箱");
                    break;
                case "09":
                    l_newJson.put("key", 1311);
                    l_newJson.put("Name", "剂");
                    break;
                case "14":
                    l_newJson.put("key", 1313);
                    l_newJson.put("Name", "尾");
                    break;
                case "10":
                    l_newJson.put("key", 1316);
                    l_newJson.put("Name", "万粒");
                    break;
                default:
                    l_newJson.put("key", 1305);
                    l_newJson.put("Name", "公斤");
                    break;
            }
        }

        return l_newJson;
    }

    /**
     * 单位
     * @param p_OldCode
     * @return
     */
    public static String UnitReTurn(String p_OldCode){
        String NewCode = "";

        if(p_OldCode != null && !p_OldCode.equals("")){
            switch (p_OldCode){
                case "1301":
                    NewCode = "01";
                    break;
                case "1302":
                    NewCode = "02";
                    break;
                case "1303":
                    NewCode = "12";
                    break;
                case "1304":
                    NewCode = "11";
                    break;
                case "1305":
                    NewCode = "04";
                    break;
                case "1307":
                    NewCode = "07";
                    break;
                case "1308":
                    NewCode = "08";
                    break;
                case "1309":
                    NewCode = "13";
                    break;
                case "1311":
                    NewCode = "09";
                    break;
                case "1313":
                    NewCode = "14";
                    break;
                case "1316":
                    NewCode = "10";
                    break;
                default:
                    break;
            }
        }

        return NewCode;
    }









    public static String AgencyLX(String code){
        String NewCode = "";
        if(StringUtil.isNotEmpty(code)){
            switch (code){
                case "101":
                    NewCode = "01";
                    break;
                case "102":
                    NewCode = "03";
                    break;
                case "103":
                    NewCode = "02";
                    break;
                case "105":
                    NewCode = "06";
                    break;
                default:
                    NewCode = "01";
                    break;
            }
        }

        return NewCode;
    }








    /**
     * 产品
     * @param p_OldCode
     * @return
     */
    public static Map productTypeTurnMap(String p_OldCode){
        Map l_newJson = new HashMap();
        if(p_OldCode != null && !p_OldCode.equals("")) {
            switch (p_OldCode) {
                case "100":
                    l_newJson.put("id", 10001);
                    l_newJson.put("Name", "肉产品");
                    break;
                case "101":
                    l_newJson.put("id", 46);
                    l_newJson.put("Name", "胴体");
                    break;
                case "102":
                    l_newJson.put("id", 102);
                    l_newJson.put("Name", "分割肉");
                    break;
                case "200":
                    l_newJson.put("id", 10002);
                    l_newJson.put("Name", "副产品");
                    break;
                case "201":
                    l_newJson.put("id", 25);
                    l_newJson.put("Name", "脏器");
                    break;
                case "202":
                    l_newJson.put("id", 10003);
                    l_newJson.put("Name", "毛/绒");
                    break;
                case "203":
                    l_newJson.put("id", 26);
                    l_newJson.put("Name", "脂");
                    break;
                case "204":
                    l_newJson.put("id", 27);
                    l_newJson.put("Name", "血液");
                    break;
                case "205":
                    l_newJson.put("id", 28);
                    l_newJson.put("Name", "骨");
                    break;
                case "206":
                    l_newJson.put("id", 32);
                    l_newJson.put("Name", "蹄");
                    break;
                 case "207":
                    l_newJson.put("id", 29);
                    l_newJson.put("Name", "头");
                    break;
                case "208":
                    l_newJson.put("id", 33);
                    l_newJson.put("Name", "角");
                    break;
                case "209":
                    l_newJson.put("id", 30);
                    l_newJson.put("Name", "筋");
                    break;
                case "210":
                    l_newJson.put("id", 210);
                    l_newJson.put("Name", "商品蛋");
                    break;
                case "211":
                    l_newJson.put("id", 211);
                    l_newJson.put("Name", "乳类");
                    break;
                case "298":
                    l_newJson.put("id", 298);
                    l_newJson.put("Name", "其他副产品");
                    break;
                case "299":
                    l_newJson.put("id", 10004);
                    l_newJson.put("Name", "非食用副产品");
                    break;
                case "300":
                    l_newJson.put("id", 22);
                    l_newJson.put("Name", "生皮");
                    break;
                case "301":
                    l_newJson.put("id", 23);
                    l_newJson.put("Name", "原毛");
                    break;
                case "302":
                    l_newJson.put("id", 24);
                    l_newJson.put("Name", "绒");
                    break;
                case "401":
                    l_newJson.put("id", 36);
                    l_newJson.put("Name", "精液");
                    break;
                case "402":
                    l_newJson.put("id", 37);
                    l_newJson.put("Name", "卵");
                    break;
                case "403":
                    l_newJson.put("id", 38);
                    l_newJson.put("Name", "胚胎");
                    break;
                case "404":
                    l_newJson.put("id", 35);
                    l_newJson.put("Name", "种蛋");
                    break;
            }
        }

        return l_newJson;
    }

    /**
     * 动物
     * @param p_OldCode
     * @return
     */
    public static Map animalTypeTurnMap(String p_OldCode) {
        Map l_newJson = new HashMap();
        if(p_OldCode != null && !p_OldCode.equals("")) {
            switch (p_OldCode) {
                case "10100":
                    l_newJson.put("id", 1);
                    l_newJson.put("Name", "猪");
                    break;
                case "10200":
                    l_newJson.put("id", 2);
                    l_newJson.put("Name", "牛");
                    break;
                case "10300":
                    l_newJson.put("id", 3);
                    l_newJson.put("Name", "羊");
                    break;
                case "11000":
                    l_newJson.put("id", 4);
                    l_newJson.put("Name", "鹿");
                    break;
                case "11100":
                    l_newJson.put("id", 5);
                    l_newJson.put("Name", "骆驼");
                    break;
                case "20100":
                    l_newJson.put("id", 6);
                    l_newJson.put("Name", "鸡");
                    break;
                case "20200":
                    l_newJson.put("id", 7);
                    l_newJson.put("Name", "鸭");
                    break;
                case "20300":
                    l_newJson.put("id", 8);
                    l_newJson.put("Name", "鹅");
                    break;
                case "20500":
                    l_newJson.put("id", 9);
                    l_newJson.put("Name", "鹌鹑");
                    break;
                case "10400":
                    l_newJson.put("id", 11);
                    l_newJson.put("Name", "马");
                    break;
                case "10600":
                    l_newJson.put("id", 12);
                    l_newJson.put("Name", "骡");
                    break;
                case "10500":
                    l_newJson.put("id", 13);
                    l_newJson.put("Name", "驴");
                    break;
                case "10700":
                    l_newJson.put("id", 16);
                    l_newJson.put("Name", "兔");
                    break;
                case "30100":
                    l_newJson.put("id", 18);
                    l_newJson.put("Name", "蜜蜂");
                    break;
                case "20104":
                    l_newJson.put("id", 19);
                    l_newJson.put("Name", "种鸡");
                    break;
                case "20204":
                    l_newJson.put("id", 20);
                    l_newJson.put("Name", "种鸭");
                    break;
                case "20304":
                    l_newJson.put("id", 21);
                    l_newJson.put("Name", "种鹅");
                    break;
                case "10107":
                    l_newJson.put("id", 22);
                    l_newJson.put("Name", "种猪");
                    break;
                case "10202":
                    l_newJson.put("id", 24);
                    l_newJson.put("Name", "奶牛");
                    break;
                case "10304":
                    l_newJson.put("id", 25);
                    l_newJson.put("Name", "种羊");
                    break;
                case "10303":
                    l_newJson.put("id", 26);
                    l_newJson.put("Name", "奶山羊");
                    break;
                case "90000":
                    l_newJson.put("id", 27);
                    l_newJson.put("Name", "猫");
                    break;
                case "80000":
                    l_newJson.put("id", 28);
                    l_newJson.put("Name", "犬");
                    break;
                case "69900":
                    l_newJson.put("id", 32);
                    l_newJson.put("Name", "其他养殖动物");
                    break;
                case "20102":
                    l_newJson.put("id", 34);
                    l_newJson.put("Name", "蛋鸡");
                    break;
                case "50400":
                    l_newJson.put("id", 36);
                    l_newJson.put("Name", "猴");
                    break;
                case "61200":
                    l_newJson.put("id", 38);
                    l_newJson.put("Name", "鸵鸟");
                    break;
                case "60800":
                    l_newJson.put("id", 42);
                    l_newJson.put("Name", "雉鸡");
                    break;
                case "50100":
                    l_newJson.put("id", 43);
                    l_newJson.put("Name", "鼠");
                    break;
                case "61601":
                    l_newJson.put("id", 57);
                    l_newJson.put("Name", "梅花鹿");
                    break;
                case "20103":
                    l_newJson.put("id", 73);
                    l_newJson.put("Name", "雏鸡");
                    break;
                case "61602":
                    l_newJson.put("id", 74);
                    l_newJson.put("Name", "马鹿");
                    break;
                case "60500":
                    l_newJson.put("id", 77);
                    l_newJson.put("Name", "羊驼");
                    break;
                case "60600":
                    l_newJson.put("id", 111);
                    l_newJson.put("Name", "火鸡");
                    break;
                case "60700":
                    l_newJson.put("id", 112);
                    l_newJson.put("Name", "珍珠鸡");
                    break;
                case "61300":
                    l_newJson.put("id", 124);
                    l_newJson.put("Name", "鸸鹋");
                    break;
                case "10102":
                    l_newJson.put("id", 147);
                    l_newJson.put("Name", "仔猪");
                    break;
                case "20203":
                    l_newJson.put("id", 148);
                    l_newJson.put("Name", "雏鸭");
                    break;
                case "20303":
                    l_newJson.put("id", 149);
                    l_newJson.put("Name", "雏鹅");
                    break;
                case "60900":
                    l_newJson.put("id", 174);
                    l_newJson.put("Name", "鹧鸪");
                    break;
                case "50101":
                    l_newJson.put("id", 213);
                    l_newJson.put("Name", "小鼠");
                    break;
                case "50102":
                    l_newJson.put("id", 217);
                    l_newJson.put("Name", "大鼠");
                    break;
                case "10106":
                    l_newJson.put("id", 10106);
                    l_newJson.put("Name", "商品猪");
                    break;
                case "10199":
                    l_newJson.put("id", 10199);
                    l_newJson.put("Name", "其他猪");
                    break;
                case "10201":
                    l_newJson.put("id", 10201);
                    l_newJson.put("Name", "肉牛");
                    break;
                case "10204":
                    l_newJson.put("id", 10204);
                    l_newJson.put("Name", "种公牛");
                    break;
                case "10299":
                    l_newJson.put("id", 10299);
                    l_newJson.put("Name", "其他牛");
                    break;
                case "10301":
                    l_newJson.put("id", 10301);
                    l_newJson.put("Name", "绵羊");
                    break;
                case "10302":
                    l_newJson.put("id", 10302);
                    l_newJson.put("Name", "山羊");
                    break;
                case "10399":
                    l_newJson.put("id", 10399);
                    l_newJson.put("Name", "其他羊");
                    break;
                case "19900":
                    l_newJson.put("id", 19900);
                    l_newJson.put("Name", "其他家畜");
                    break;
                case "20101":
                    l_newJson.put("id", 20101);
                    l_newJson.put("Name", "肉鸡");
                    break;
                case "20199":
                    l_newJson.put("id", 20199);
                    l_newJson.put("Name", "其他鸡");
                    break;
                case "20201":
                    l_newJson.put("id", 20201);
                    l_newJson.put("Name", "肉鸭");
                    break;
                case "20202":
                    l_newJson.put("id", 20202);
                    l_newJson.put("Name", "蛋鸭");
                    break;
                case "20299":
                    l_newJson.put("id", 20299);
                    l_newJson.put("Name", "其他鸭");
                    break;
                case "20301":
                    l_newJson.put("id", 20301);
                    l_newJson.put("Name", "肉鹅");
                    break;
                case "20302":
                    l_newJson.put("id", 20302);
                    l_newJson.put("Name", "蛋鹅");
                    break;
                case "20399":
                    l_newJson.put("id", 20399);
                    l_newJson.put("Name", "其他鹅");
                    break;
                case "20400":
                    l_newJson.put("id", 20400);
                    l_newJson.put("Name", "鸽");
                    break;
                case "29900":
                    l_newJson.put("id", 29900);
                    l_newJson.put("Name", "其他家禽");
                    break;
                case "30000":
                    l_newJson.put("id", 30000);
                    l_newJson.put("Name", "蜂");
                    break;
                case "39900":
                    l_newJson.put("id", 39900);
                    l_newJson.put("Name", "其他蜂");
                    break;
                case "40100":
                    l_newJson.put("id", 40100);
                    l_newJson.put("Name", "淡水鱼");
                    break;
                case "40200":
                    l_newJson.put("id", 40200);
                    l_newJson.put("Name", "海水鱼");
                    break;
                case "40300":
                    l_newJson.put("id", 40300);
                    l_newJson.put("Name", "虾");
                    break;
                case "40400":
                    l_newJson.put("id", 40400);
                    l_newJson.put("Name", "蟹");
                    break;
                case "40500":
                    l_newJson.put("id", 40500);
                    l_newJson.put("Name", "贝");
                    break;
                case "49900":
                    l_newJson.put("id", 49900);
                    l_newJson.put("Name", "其他水生动物");
                    break;
                case "50103":
                    l_newJson.put("id", 50103);
                    l_newJson.put("Name", "豚鼠");
                    break;
                case "50104":
                    l_newJson.put("id", 50104);
                    l_newJson.put("Name", "地鼠");
                    break;
                case "50199":
                    l_newJson.put("id", 50199);
                    l_newJson.put("Name", "其他鼠");
                    break;
                case "50200":
                    l_newJson.put("id", 50200);
                    l_newJson.put("Name", "实验用兔");
                    break;
                case "50300":
                    l_newJson.put("id", 50300);
                    l_newJson.put("Name", "实验用犬");
                    break;
                case "50500":
                    l_newJson.put("id", 50500);
                    l_newJson.put("Name", "实验用鸡");
                    break;
                case "59900":
                    l_newJson.put("id", 59900);
                    l_newJson.put("Name", "其他实验动物");
                    break;
                case "61000":
                    l_newJson.put("id", 61000);
                    l_newJson.put("Name", "番鸭");
                    break;
                case "61100":
                    l_newJson.put("id", 61100);
                    l_newJson.put("Name", "绿头鸭");
                    break;
                case "61603":
                    l_newJson.put("id", 61603);
                    l_newJson.put("Name", "驯鹿");
                    break;
                case "70100":
                    l_newJson.put("id", 70100);
                    l_newJson.put("Name", "野生哺乳类动物");
                    break;
                case "70200":
                    l_newJson.put("id", 70200);
                    l_newJson.put("Name", "野生禽鸟类动物");
                    break;
                case "79900":
                    l_newJson.put("id", 79900);
                    l_newJson.put("Name", "其他野生动物");
                    break;
                case "60300":
                    l_newJson.put("id", 79901);
                    l_newJson.put("Name", "水貂");
                    break;
                case "61400":
                    l_newJson.put("id", 79902);
                    l_newJson.put("Name", "银狐");
                    break;
                case "61500":
                    l_newJson.put("id", 79903);
                    l_newJson.put("Name", "北极狐");
                    break;
                case "60400":
                    l_newJson.put("id", 83);
                    l_newJson.put("Name", "貉");
                    break;

            }
        }

        return l_newJson;
    }
















}
